//
//  YahooGroup.h
//  HelloWorld
//
//  Created by Martin Le C. on 5/12/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YahooUser.h"

@interface YahooGroup : NSObject {
	NSString *name;
	BOOL open;
	NSMutableArray *users;
}
@property(nonatomic, assign) NSString *name;
@property(nonatomic, assign) BOOL open;
@property(nonatomic, assign) NSMutableArray *users;
-(void) addUser: (YahooUser*) yu;
-(void) removeUserAt: (NSInteger) i;
-(BOOL) isEmpty;
- (NSInteger) countUsers;
-(NSInteger) getIndexOfFriend: (NSString*) userId;
-(NSString*) toURIString;
- (YahooUser*) getUserAt:(int)i;
@end